const path = require('path');
const webpack = require('webpack');
const HtmlWebpackInlinePlugin = require('html-webpack-inline-plugin');
function resolve(dir) {
	return path.join(__dirname, dir);
}

module.exports = {
	productionSourceMap: false,
	outputDir: 'dist',
	publicPath: './',
	devServer: {
		port: 3001,
		host: '0.0.0.0',
		https: false,
		open: true
	},
 configureWebpack: {
    plugins: [
      new HtmlWebpackInlinePlugin({
        compress: false
      })
    ]
  },
	lintOnSave: true,
}
